// (c) Drealmer - 2007/09/02

#include "PCH.h"
#include "BMPHeader.h"

BMPHeader::BMPHeader(int width, int height)
: bfType(19778)
, bfSize(sizeof(BMPHeader) + width * height * 4)
, bfReserved1(0)
, bfReserved2(0)
, bfOffBits(54)
, biSize(40)
, biWidth(width)
, biHeight(height)
, biPlanes(1)
, biBitCount(32)
, biCompression(0)
, biSizeImage(width * height * 4)
, biXPelsPerMeter(0)
, biYPelsPerMeter(0)
, biClrUsed(0)
, biClrImportant(0) {

}
